package com.theaf.basemodule.common.model;

import com.theaf.core.annotation.FieldCn;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * @Author:songwenke
 * @Description:参数
 * @Date:create in 14:49 2017/12/21
 * @Modified By:
 **/
@Entity
@Table(name = "sys_parameter")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysParameter {
    @Id
    @Column(name = "code",unique = true)
    @FieldCn(value = "编码")
    private String code;

    /**
     * 名称
     */
    @Column(name = "name")
    @FieldCn(value = "名称")
    private String name;

    /**
     * 备注
     */
    @Column(name = "remark")
    @FieldCn(value = "备注")
    private String remark;

    /**
     * 是否启用
     */
    @Column(name = "enabled")
    @FieldCn(value = "是否启用")
    private Boolean enabled;

}
